﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace webapi.Model
{
    [Table("xyc_user_info")]
    public class UserInfoModel
    {
        [Key]
        public String GUID { get; set; }

        [Required]
        public String USER_ID { get; set; }

        [Required]
        public String USER_GROUP_ID { get; set; }

        [Required]
        public String EMAIL_ADDRESS { get; set; }

        [Required]
        public String DELIVERY_ADRESS { get; set; }

        public String NICKNAME { get; set; }

        public String AVATAR { get; set; }

        [Required]
        public String USER_PASSWORD { get; set; }

        public DateTime? DELETE_DATE { get; set; }

        [Required]
        public String ZIPCODE { get; set; }

        [Required]
        public String PHONE_NUMBER { get; set; }

    }
}
